﻿using System;
using System.ComponentModel;
using System.Windows.Forms;

using ProgressSpace;

namespace TravWinControllerSpace
{
    public partial class ProgressDialogWinController : Form
    {
        private ProgressModel model;

        public ProgressDialogWinController (ProgressModel progressModel)
        {
            InitializeComponent ();
            model = progressModel;
        }

        private void ProgressDialogWinController_Load (object sender, EventArgs e)
        {
            progressBar.Minimum = 0;
            progressBar.Maximum = 100;
        }

        private void ProgressDialogWinControllerCancel_Click (object sender, EventArgs e)
        {
            DialogResult = DialogResult.Cancel;
        }
    }
}
